package Demo3;

import org.springframework.stereotype.Component;

@Component("summer")
public class Shirt implements Clothes {

    public void wear() {
        System.out.println("Wearing Shirt!");
    }
}
